home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000217-20000824
/
000270_news@columbia.edu _Tue May 2 17:07:02 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA20688
for <kermit.misc@cpunix.cc.columbia.edu>; Tue, 2 May 2000 17:07:02 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA09810
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 2 May 2000 17:07:01 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA01525
for kermit.misc@watsun.cc.columbia.edu; Tue, 2 May 2000 17:02:09 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: jrd@cc.usu.edu (Joe Doupnik)
Subject: Re: Making cursor invisible
Message-ID: <S8AQOcJ8ySwW@cc.usu.edu>
Date: 2 May 00 14:38:24 MDT
Organization: Utah State University
To: kermit.misc@columbia.edu
In article <wiWIY2i9VKeu@cc.usu.edu>, jrd@cc.usu.edu (Joe Doupnik) writes:
> In article <8en5bh$mf4$1@newsmaster.cc.columbia.edu>, fdc@watsun.cc.columbia.edu (Frank da Cruz) writes:
>> In article <390f169e.837413411@news.bellglobal.com>,
>> Gord Shier <shier@shorcan.com> wrote:
>> : On Tue, 02 May 2000 08:21:05 +0100, Paul Williams <flo@rdel.co.uk> wrote:
>> : >Gord Shier wrote:
>> : >> I am using VT220 emulation, and I would like to make the
>> : >> cursor invisible using the terminfo 'civis' string, which is
>> : >> '\E[?25h', according to my vt220 listing. Sadly, this doesn't work.
>> : >> Is there an escape sequence that I can send to hide the cursor?
>> : >
>> : >You've been making the cursor visible. '\E[?25l' (that's a lowercase ell
>> : >on the end) will make the cursor invisible.
>> :
>> : Unfortunately, that was merely a typing mistake in my message, not in
>> : what I was doing. I have been using the 'l'. I've tried it from
>> : little scripts, as well as doing 'tput civis' and 'tput cnorm' which
>> : extract the appropriate sequences from my terminfo db. Nothing works
>> : so far.
>> :
>> Apparently MS-DOS Kermit does not support this escape sequence.
>>
> Yes, it does support ESC [ ? 25 h and l. Please see MSK document
> msvibm.vt which describes all the control sequences supported by MSK.
> Joe D.
And to make sure I ran a test a few minutes ago and it works
just fine, thankyouverymuch. "l" is invisible, "h" is visible (default).
It's been there working ok for many years.
To test try a Unix host example of two little files.
l.txt holds
testing ESC[?25l l-mode-set
h.txt holds
testing ESC[?25h h-mode-set
and then cat each in turn. Naturally ESC stands for decimal value 27, \033
in octal notation for Unix.
This works no matter whether the cursor is underline or block kind.
However, please be aware that MS Windows chooses to clobber things and apply
its own version of what a cursor might be, so all bets are off with Windows.
Joe D.